package responsibility.my;


/**
 * @Author: Doream
 * @Date: 2022/1/29 21:38
 */
// 小组长,具体处理者
public class GroupLeader extends HandlerPeople {

    public GroupLeader() {
        super(1, new Manager());
    }

    @Override
    protected void handleMode(LeaveRequest leaveRequest) {
        System.out.println(leaveRequest.getName()+"因为"+leaveRequest.getContent()+"请假"+leaveRequest.getNum()+"天");
        System.out.println("热情洋溢的小组长果断地同意了你的请假！");
    }
}
